<?php $this->beginContent('/layouts/main'); ?>
<div class="container">
    <div class="span-5">
        <div id="sidebar">
			<?php $this->widget('PhotoGallery'); ?>
			<?php $this->widget('Clock'); ?>
            <?php $this->widget('Calendar'); ?>  
            <?php $this->widget('Links'); ?>
        </div><!-- content -->
    </div>
    <div class="span-12">
        <div id="content">
            <?php echo $content; ?>
        </div><!-- content -->
    </div>
    <div class="span-7 last">
        <div id="sidebar">
            <?php if(Yii::app()->user->name=='admin') $this->widget('UserMenu'); ?>
         
            <?php /* $this->widget('TagCloud', array(
                'maxTags'=>Yii::app()->params['tagCloudCount'],
            )); */ ?>
            <?php $this->widget('Search'); ?>
            <?php// $this->widget('UserLoginForm'); ?>
                     
            
            <?php $this->widget('RecentSms'); ?>

            <?php $this->widget('RecentComments', array(
                'maxComments'=>Yii::app()->params['recentCommentCount'],
            )); ?>

            <?php $this->widget('Archive'); ?>

        </div><!-- sidebar -->
    </div>
</div>
<?php $this->endContent(); ?>